import { defineStore } from "pinia";
import type { SpuItem } from "@/api/product/model/spuModel";

export const useSpuStore = defineStore("spu", {
  state: (): { spu: SpuItem } => {
    return {
      spu: {
        id: undefined,
        spuName: "",
        description: "",
        tmId: undefined,
      },
    };
  },
});
